<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>上传系统</title>
<base target="_self">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<load href="__PUBLIC__/Js/jquery.js"/>

<link href="__PUBLIC__/Css/green/g_main.css" type="text/css" rel="stylesheet" />

<script language="javascript">
  function check(theform){
      for(var i=0;i<theform.length;i++){
	     if($.trim(theform[i].value)==""){
		     alert(theform[i].title+"不能为空!");
			 theform[i].focus();
			 return false;
		 }
	  }
	  $("#result").css("display","block");//设置样式
  }

</script>
</head>
<body>
<div class="float-window-div">
<table  border="0" cellspacing="0" cellpadding="0">
<form action="__URL__/doupload/is_thumb/{$Think.get.is_thumb}/thumb_w/{$Think.get.thumb_w}/thumb_h/{$Think.get.thumb_h}/thumb_label/{$Think.get.thumb_label}/thumb_type/{$Think.get.thumb_type}/is_wm/{$Think.get.is_wm}/wm_type/{$Think.get.wm_type}/wm_pos/{$Think.get.wm_pos}" method="post" enctype="multipart/form-data" name="form1">
  <tr>
    <td><div align="center">请选择文件上传</div></td>
  </tr>
  <tr>
    <td>
  <input type="file" name="file1" id="file1" title="文件">
  <input type="submit" name="button" id="button" value="上传" onClick="return check(this.form);">
</td>
  </tr>
  <tr><td><div id="result" style="color:#FF0000; font-size:12px; text-align:center; display:none">正在上传中。。。。。。</div></td></tr>
  <tr>
    <td><div align="center">{$setup.webname}&copy;{$setup.weburl}</div></td>
  </tr>
  </form>
</table>
</div>

</body>
</html>
